<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.control.UserControl" %>
<%
if(session.getAttribute("username")==null ||session.getAttribute("password")==null)
     out.print("<script>alert('请先登录！');window.location.href='login.jsp'</script>");
%>
<%
int id=(Integer)session.getAttribute("id"); 
UserControl lc=new UserControl();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>教务处登录页面</title>
	<link id="classlinkid" href="css/dataTable2.css" rel="stylesheet"
		type="text/css" />
	<link rel="StyleSheet" href="css/public.css" type="text/css" />
	<link rel="StyleSheet" href="css/menu1.css" type="text/css" />
	<style type="text/css">
	.nav{
	float:left;
	margin-left:25px;
	}
	</style>
</head>
<html>
<body style="min-width: 1003px">
		<div class="top" style="background: url(images/woca.gif);">
			<div class="topbg99">
				<div class="logo" style="">
					<img src="images/333.gif" width="327" height="47" alt="logo" />
				</div>
				<div class="gj"
					style="margin: 8px 20px 0px 0px; text-align: right;">
					<span style="color: #FFFFFF">您好，<b><%=lc.getUserName(id) %></b></span> &nbsp;
					<a href="logout.jsp">退出</a>
				</div>
			</div>
		</div>
		<div class="main">
			<table border="0" cellpadding="0" cellspacing="0" height="100%"
				width="100%">
				<tbody>
					<tr>
						<td width="200" height="100%" valign="top" >
							<div
								style="width: 160px; height: 100%; float: left; overflow: auto; border: #b3c8d9 solid 1px;">
								<div
									style="background: url(images/menu1-6.gif); height: 33px; line-height: 38px;">
									<span
										style="padding-top: 10px; padding-left: 25px; font-size: 14px; font-weight: bold;">功能导航</span>
									<ul class="nav">
										<li>
											<a href="manager/information_control/user_insert.jsp" target="student_main">增加用户</a>
										</li>
										<li>
											<a href="manager/information_control/course_insert.jsp" target="student_main">增加课程</a>
										</li>
										<li>
											<a href="manager/information_control/Info_show.jsp" target="student_main">管理用户</a>
										</li>
										<li>
											<a href="manager/information_control/course_show.jsp" target="student_main">管理课程</a>
										</li>
										<li>
											<a href="manager/calculation/search.jsp" target="student_main">查看学生成绩</a>
										</li>
										<li>
											<a href="manager/calculation/search_course.jsp" target="student_main">查看课程成绩</a>
										</li>
										<li>
											<a href="manager/calculation/calcu_student.jsp" target="student_main">统计学生成绩</a>
										</li>
										<li>
											<a href="manager/calculation/calcu_course.jsp" target="student_main">统计课程成绩</a>
										</li>
										<li>
											<a href="manager/calculation/good_student.jsp" target="student_main">查看优秀学生</a>
										</li>
										<li>
											<a href="manager/update_password.jsp" target="student_main">修改密码</a>
										</li>
										<li>
											<a href="logout.jsp" style="color:#FF0000" target="_top">安全退出</a>
										</li>
									</ul>
								</div>
							</div>
							
						</td>
						<td width="846" valign="top"
							style="width: 100%; height: 100%; border-top: #b3c8d9 solid 1px;">
							<iframe allowtransparency="true" frameborder="0"
								name="student_main" src="index.jsp" scrolling="yes" height="100%"
								width="100%" style="overflow: visible;"></iframe>
						</td>
					</tr>
				</tbody>
			</table>
			</div>
</body>
</html>
